package com.indux.prefset.activity;

import android.app.Activity;
import android.os.Bundle;
import android.os.Handler;

/**
 * Splash Activity to show something fashion
 *
 * @see SystemUiHider
 */
public class SplashActivity extends Activity
{
	// Unit: milliSecond
	private static final int DELAYED_TIME = 1300;
	
	@Override
	protected void onCreate(Bundle savedInstanceState)
	{
		super.onCreate(savedInstanceState);
		
		setContentView(R.layout.activity_fullscreen_splash);
		
		Handler handler = new Handler();
		handler.postDelayed(new Runnable() {
			
			@Override
			public void run()
			{
				closeThisActivity();
			}
			
		}, DELAYED_TIME);
		
	}
	
	private void closeThisActivity()
	{
		this.finish();
	}
}
